package main

import (
	"gorm.io/driver/mysql"
	"gorm.io/gorm"
)

var (
	gormDb *gorm.DB
	err    error
)

func init() {

	//var err error
	dsn := "jyzk:jyzk36801580@tcp(127.0.0.1:3306)/fdcs?charset=utf8&parseTime=True&loc=Local"
	gormDb := mysql.Open(dsn)

}

type System struct {
	ID           int64 `gorm:"primaryKey"`
	Factory_code string
	Factory_name string
	Instance_id  string
	Products     string
	Devices      string
	Configs      string
}
